package com.wildworld.core;

import com.wildworld.core.events.IMapRedrawEventListener;
import com.wildworld.core.properties.MapProperty;
import com.wildworld.core.worldobjects.WorldObject;

import java.util.Iterator;
import java.util.List;

/**
 * @author gzhebrakov
 *         Date: 26.06.12
 *         Time: 16:58
 *         world map interface
 */
public interface IMap {
    public void setProperty(MapProperty property);
    public MapProperty getProperty();
    public void reDraw(List<WorldObject> objects);
    public List<WorldObject> getWorldObjects();
    public void setWorldObjects(List<WorldObject> objectList);
    public void addRedrawEventListener(IMapRedrawEventListener listener);
}
